<?php $this->load->module('mobile/index/header', $common);?>

<link rel="stylesheet" type="text/css" href="<?php echo URLPRE;?>static/template/default/mobile/css/main.css" />
<link rel="stylesheet" type="text/css" href="<?php echo URLPRE;?>static/template/default/mobile/css/dialog.css" />
<link rel="stylesheet" type="text/css" href="<?php echo URLPRE;?>static/template/default/mobile/css/base.css" />
<link rel="stylesheet" type="text/css" href="<?php echo URLPRE;?>static/template/default/mobile/css/index.css" />
<link rel="stylesheet" type="text/css" href="<?php echo URLPRE;?>static/template/default/mobile/css/line.css" />
<script type="text/javascript" src="<?php echo URLPRE;?>static/template/default/mobile/js/mobilecommon.js"></script>
<script type="text/javascript" src="<?php echo URLPRE;?>static/template/default/mobile/js/slider.js"></script>
<script type="text/javascript" src="<?php echo URLPRE;?>static/template/default/mobile/js/dialog.js"></script>
<div class="content">
    <div id="list">
        <?php if(isset($datalist)&&!empty($datalist)):?>
            <?php foreach($datalist as $val):?>
                <?php if(isset($val['child'])&&!empty($val['child'])):?>
                    <?php foreach ($val['child'] as $v) { ?>
                        <a href="<?php echo site_url('mobile/article/profile?id='.$v['article_id']) ;?>">
                            <div class="list-item fn-clear">
                                <div class="info">
                                    <h5><?php echo $v['title'];?></h5>
                                </div>
                            </div>
                        </a>
                    <?php }?>
                <?php endif;?>
            <?php endforeach;?>
        <?php endif;?>
    </div>
</div>
<?php $this->load->module('mobile/index/footer', $common);?>
<script type="text/javascript">
    $(function(){
        var slid = $("#sliderimg").slider({
            loop: true
        });

    });
</script>